<html>
<head><meta charset="utf-8"><title>compiler/library directory naming · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html">compiler/library directory naming</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="208511970"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208511970" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208511970">(Aug 31 2020 at 00:49)</a>:</h4>
<p>My normal build command is <code>./x.py build --stage 2 src/rustc</code></p>



<a name="208511974"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208511974" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208511974">(Aug 31 2020 at 00:49)</a>:</h4>
<p>try <code>compiler/rustc</code> instead maybe?</p>



<a name="208512031"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208512031" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208512031">(Aug 31 2020 at 00:51)</a>:</h4>
<p>that works, thanks</p>



<a name="208512103"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208512103" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208512103">(Aug 31 2020 at 00:53)</a>:</h4>
<p>Ugh, <code>compiler/rustc_foo/src/</code>? sigh</p>



<a name="208512109"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208512109" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208512109">(Aug 31 2020 at 00:53)</a>:</h4>
<p>I like Huffman encoding: things that are frequent should be short</p>



<a name="208512172"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208512172" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208512172">(Aug 31 2020 at 00:55)</a>:</h4>
<p>yeah I really wish they hadn't added <code>src</code></p>



<a name="208512177"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208512177" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208512177">(Aug 31 2020 at 00:55)</a>:</h4>
<p>and maybe used <code>rustc</code> instead of <code>compiler</code></p>



<a name="208512227"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208512227" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208512227">(Aug 31 2020 at 00:56)</a>:</h4>
<p>and <code>lib</code> instead of <code>library</code> :(</p>



<a name="208512304"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208512304" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208512304">(Aug 31 2020 at 00:58)</a>:</h4>
<p>/me notes that every directory under <code>compiler/</code> starts with <code>rustc</code></p>



<a name="208512498"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208512498" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208512498">(Aug 31 2020 at 01:04)</a>:</h4>
<p>legacy aliases!</p>



<a name="208512502"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208512502" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208512502">(Aug 31 2020 at 01:04)</a>:</h4>
<p>my shell history is too full of various useful x.py invocations that won’t work anymore ^^</p>



<a name="208515829"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208515829" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208515829">(Aug 31 2020 at 02:48)</a>:</h4>
<p><span class="user-mention silent" data-user-id="120989">njn</span> <a href="#narrow/stream/131828-t-compiler/topic/ninja/near/208512304">said</a>:</p>
<blockquote>
<p>/me notes that every directory under <code>compiler/</code> starts with <code>rustc</code></p>
</blockquote>
<p>Really? Huh. That <em>does</em> seem worth fixing, to avoid the redundancy.</p>



<a name="208515830"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208515830" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208515830">(Aug 31 2020 at 02:48)</a>:</h4>
<p>(And I agree with dropping <code>src</code> as well.)</p>



<a name="208515831"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208515831" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208515831">(Aug 31 2020 at 02:48)</a>:</h4>
<p><span class="user-mention silent" data-user-id="120989">njn</span> <a href="#narrow/stream/131828-t-compiler/topic/ninja/near/208512227">said</a>:</p>
<blockquote>
<p>and <code>lib</code> instead of <code>library</code> :(</p>
</blockquote>
<p>That one surprised me too.</p>



<a name="208515990"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208515990" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208515990">(Aug 31 2020 at 02:55)</a>:</h4>
<p>time for another mcp ;)</p>



<a name="208549676"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208549676" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208549676">(Aug 31 2020 at 12:24)</a>:</h4>
<p>/me has run out of energy to discuss the directory renaming after 1/2 through the first one to be honest</p>



<a name="208551558"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208551558" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208551558">(Aug 31 2020 at 12:46)</a>:</h4>
<p><span class="user-mention silent" data-user-id="120989">njn</span> <a href="#narrow/stream/131828-t-compiler/topic/ninja/near/208512304">said</a>:</p>
<blockquote>
<p>/me notes that every directory under <code>compiler/</code> starts with <code>rustc</code></p>
</blockquote>
<p>there's work going on, on this and is in progress</p>



<a name="208608668"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208608668" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Vadim Petrochenkov <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208608668">(Aug 31 2020 at 20:05)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116122">simulacrum</span> <a href="#narrow/stream/131828-t-compiler/topic/ninja/near/208549676">said</a>:</p>
<blockquote>
<p>/me has run out of energy to discuss the directory renaming after 1/2 through the first one to be honest</p>
</blockquote>
<p>Yeah, the initial PR was bikeshedded for quite some time.<br>
So, late == lost, I guess.</p>
<p>(I liked the combination <code>std</code>+<code>rustc</code> more than <code>library</code>+<code>compiler</code> though.)</p>



<a name="208617069"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208617069" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208617069">(Aug 31 2020 at 21:23)</a>:</h4>
<p>heh I feel like I'd prefer that now too but <span aria-label="shrug" class="emoji emoji-1f937" role="img" title="shrug">:shrug:</span></p>



<a name="208617200"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208617200" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208617200">(Aug 31 2020 at 21:24)</a>:</h4>
<p>I guess this is one case where maybe <em>not</em> going down the MCP road and having a dedicated group of people just make some decisions might've been better</p>



<a name="208617209"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208617209" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208617209">(Aug 31 2020 at 21:24)</a>:</h4>
<p>I feel like we didn't gain much from MCP</p>



<a name="208629748"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208629748" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Tshepang Lekhonkhobe <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208629748">(Aug 31 2020 at 23:47)</a>:</h4>
<p><span class="user-mention silent" data-user-id="120823">DPC</span> <a href="#narrow/stream/131828-t-compiler/topic/ninja/near/208551558">said</a>:</p>
<blockquote>
<p><span class="user-mention silent" data-user-id="120989">njn</span> <a href="#narrow/stream/131828-t-compiler/topic/ninja/near/208512304">said</a>:</p>
<blockquote>
<p>/me notes that every directory under <code>compiler/</code> starts with <code>rustc</code></p>
</blockquote>
<p>there's work going on, on this and is in progress</p>
</blockquote>
<p>do you got link</p>



<a name="208905236"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/208905236" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#208905236">(Sep 03 2020 at 00:08)</a>:</h4>
<p><span class="user-mention silent" data-user-id="119529">Tshepang Lekhonkhobe</span> <a href="#narrow/stream/131828-t-compiler/topic/ninja/near/208629748">said</a>:</p>
<blockquote>
<p>do you got link</p>
</blockquote>
<p><a href="#narrow/stream/233931-t-compiler.2Fmajor-changes/topic/Move.20the.20compiler.20to.20a.20new.20.60compiler.2F.60.20di.E2.80.A6.20compiler-team.23336">https://rust-lang.zulipchat.com/#narrow/stream/233931-t-compiler.2Fmajor-changes/topic/Move.20the.20compiler.20to.20a.20new.20.60compiler.2F.60.20di.E2.80.A6.20compiler-team.23336</a></p>



<a name="209033419"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209033419" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mark-i-m <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209033419">(Sep 03 2020 at 21:47)</a>:</h4>
<p>Yeah, I'm not sure what else I could have done here, though... I tried to collect feedback at various points, but nobody really commented during the MCP or multiple FCPs. Should we have taken a poll or something?</p>



<a name="209033465"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209033465" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209033465">(Sep 03 2020 at 21:47)</a>:</h4>
<p>Oh, I think it's not on you</p>



<a name="209033540"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209033540" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209033540">(Sep 03 2020 at 21:48)</a>:</h4>
<p>it's just one of the cases where MCP process didn't work out well in practice, though I don't think we <em>have</em> a process that would've other than just 'some folks meet and make a decision'</p>



<a name="209040248"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209040248" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209040248">(Sep 03 2020 at 23:18)</a>:</h4>
<p>yeah maybe we could have a "design/brainstorming meeting" of sorts</p>



<a name="209040314"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209040314" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209040314">(Sep 03 2020 at 23:19)</a>:</h4>
<p>I think there should be distinction between 'we want to make a change like this' and 'we want to make this exact change'</p>



<a name="209040363"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209040363" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209040363">(Sep 03 2020 at 23:20)</a>:</h4>
<p>the former needs a design meeting, the later doesn't</p>



<a name="209040385"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209040385" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209040385">(Sep 03 2020 at 23:20)</a>:</h4>
<p>like my 'improve defaults' PR could definitely have used some more feedback on whether there were <em>better</em> options than the one I suggested</p>



<a name="209127631"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209127631" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209127631">(Sep 04 2020 at 18:41)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116122">simulacrum</span> <a href="#narrow/stream/131828-t-compiler/topic/ninja/near/209033540">said</a>:</p>
<blockquote>
<p>it's just one of the cases where MCP process didn't work out well in practice, though I don't think we <em>have</em> a process that would've other than just 'some folks meet and make a decision'</p>
</blockquote>
<p>I kind of think this is what happened, but we should probably have been more explicit that this is the plan</p>



<a name="209127645"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209127645" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209127645">(Sep 04 2020 at 18:41)</a>:</h4>
<p>I kind of like the new names though :)</p>



<a name="209127982"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209127982" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209127982">(Sep 04 2020 at 18:44)</a>:</h4>
<p>I like them too, although I think I would prefer <code>lib</code> for libraries, <code>src</code> for compiler, and <code>util</code> for support things like <code>bootstrap</code>. Or, if we didn't want to move so much stuff around, <code>lib</code>, <code>comp</code>, and <code>src</code>.</p>



<a name="209128048"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209128048" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209128048">(Sep 04 2020 at 18:44)</a>:</h4>
<p><code>comp</code> is not at all clear, I'd rather have <code>rustc</code></p>



<a name="209128226"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209128226" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209128226">(Sep 04 2020 at 18:46)</a>:</h4>
<p>Agreed. <code>lib</code> as an abbreviation for <code>library</code> is extremely common. <code>comp</code> isn't obviously <code>compiler</code>; <code>rustc</code> seems preferable there.</p>



<a name="209135074"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209135074" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209135074">(Sep 04 2020 at 19:58)</a>:</h4>
<p>Conceptually, <code>library</code> and <code>compiler</code> are the most intuitive to me but annoying to type. <code>std</code> and <code>rustc</code> are much nicer to type and I think reasonably obvious to a Rust user but then you have the unfortunate <code>std/std</code> and <code>rustc/rustc</code> naming...</p>
<p>Perhaps those could become <code>std/lib</code> and <code>rustc/bin</code>? Maybe that's trying too hard lol</p>



<a name="209135250"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209135250" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209135250">(Sep 04 2020 at 20:00)</a>:</h4>
<p>I think I'd find <code>lib/std</code> more intuitive.</p>



<a name="209135630"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209135630" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209135630">(Sep 04 2020 at 20:04)</a>:</h4>
<p>Yeah, that makes more sense as it holds all the libraries we ship in the distribution not just std.</p>



<a name="209136031"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209136031" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209136031">(Sep 04 2020 at 20:09)</a>:</h4>
<p>I've been hitting this really often when I try to type a path lately, but I'm pretty sure it's "newness" effect so far</p>



<a name="209136117"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209136117" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209136117">(Sep 04 2020 at 20:10)</a>:</h4>
<p>I do think renaming the directories now that we've split things apart is much easier and we have prior art, but I think it may make sense to wait a bit -- sort of see how this works out</p>



<a name="209136768"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209136768" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209136768">(Sep 04 2020 at 20:18)</a>:</h4>
<p>I like <code>rustc/bin</code></p>



<a name="209136785"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209136785" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209136785">(Sep 04 2020 at 20:18)</a>:</h4>
<p>one of my complaints with the default cargo setup is too much nesting :P</p>



<a name="209138272"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209138272" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Vadim Petrochenkov <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209138272">(Sep 04 2020 at 20:36)</a>:</h4>
<p>In what contexts do you have to type these paths?</p>



<a name="209138322"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209138322" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209138322">(Sep 04 2020 at 20:37)</a>:</h4>
<p><code>x.py doc library/std</code> in the shell</p>



<a name="209138334"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209138334" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Vadim Petrochenkov <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209138334">(Sep 04 2020 at 20:37)</a>:</h4>
<p>For me it usually happens in shell (which has autocomplete), or vscode search (which is fuzzy), so the length is not an issue in both cases.</p>



<a name="209138601"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209138601" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209138601">(Sep 04 2020 at 20:40)</a>:</h4>
<p>oh, it's not a length thing</p>



<a name="209138606"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209138606" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209138606">(Sep 04 2020 at 20:40)</a>:</h4>
<p>it's literally "I type src/libstd, get confused"</p>



<a name="209138633"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209138633" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209138633">(Sep 04 2020 at 20:41)</a>:</h4>
<p>I've been training myself to use fuzzy search instead though which mostly solves this</p>



<a name="209171402"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209171402" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209171402">(Sep 05 2020 at 10:13)</a>:</h4>
<p><span class="user-mention silent" data-user-id="125250">Wesley Wiser</span> <a href="#narrow/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming/near/209135630">said</a>:</p>
<blockquote>
<p>Yeah, that makes more sense as it holds all the libraries we ship in the distribution not just std.</p>
</blockquote>
<p>it's the "standard library", which is bigger than libstd... that also is confusing in and of itself but I am not sure what to do about it^^</p>



<a name="209171443"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209171443" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209171443">(Sep 05 2020 at 10:14)</a>:</h4>
<p>also vscode still often suggests old filenames to me that do not exist any more. I am not sure how to stop it from doing that... it considers them "recently opened" or so.</p>



<a name="209172586"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209172586" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209172586">(Sep 05 2020 at 10:52)</a>:</h4>
<p><span class="user-mention" data-user-id="120791">@RalfJ</span> </p>
<p><a href="/user_uploads/4715/WsU5knRmSJA4pmyRjS0zKHaT/image.png">image.png</a>  </p>
<div class="message_inline_image"><a href="/user_uploads/4715/WsU5knRmSJA4pmyRjS0zKHaT/image.png" title="image.png"><img src="/user_uploads/4715/WsU5knRmSJA4pmyRjS0zKHaT/image.png"></a></div><blockquote>
<p>it's the "standard library",</p>
</blockquote>
<p>I do think "runtime" is the specific term we all should use to refer to disambiguate, regardless of the directory name :-)</p>



<a name="209172638"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209172638" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209172638">(Sep 05 2020 at 10:54)</a>:</h4>
<p>ah that also cleared recently opened workspace, argh^^</p>



<a name="209172640"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/compiler/library%20directory%20naming/near/209172640" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/compiler.2Flibrary.20directory.20naming.html#209172640">(Sep 05 2020 at 10:54)</a>:</h4>
<p>but I guess this means I do not have to do this for each workspace at last ;)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>